package com.lelaohui.net.netmanager;

import android.content.Context;
import android.support.annotation.NonNull;

import com.lelaohui.net.request.IRequest;
import com.lelaohui.net.listener.NetDataListener;
import com.lelaohui.net.listener.ProgressListener;

import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by ZTF on 2017/3/16.
 */

public interface INetRequestManager {

    public void postRequest(@NonNull final IRequest request, @NonNull final NetDataListener dataCallback);
    public void setProgressListener(ProgressListener progressListener);
    public void setContext(Context context);

}
